imporved the readability of the code