code that saves salaried data