Tips for cleaner code: Cleaning up IF statements