make if simpler