Added elseif();