improve readability of code