same file, just using if/elseif functions to get the same results