some style changes to make it more readable