added valition in increase salary method