put variables in if condition