when you are given a salary