making the code prettier