code clean up getting ready to minifiy