What is military pay based upon?