clean up readability of code