make if statable