implementing second timer