making code a little cleaner