salary: working on list salary function;