A mass m attached to a spring oscillates with a period of 3s. If the mass is increased by 1 kg the period increases by 1s. The initial mass m is