Changing elseif order