Refactored 'If Blocks' to return(foo > bar)