made the code a bit more readable

more readable code