making code prettier