an elseif would be better here