tidy.
(Refactor) Pull up function.
tidy.
Removed duplicates.
(Refactor) pull up function
(Refactor) use pulled up function.
(Refactor) Removed a parameter.
(Refactor) Removed duplicates.
tidy.
tidy.
tidy.