change to elseif