code made more readable