adding seconds function