salary: implementing basic salary calc functions;