pure and impure functions. There are any references about pure and impure functions in here. you can look below.