I was wondering if there is a 'cleaner' way of doing it rather than IF statements.