got the function syntax ok, but its always giving me true for the 2nd return