algorithm was changed a little in accouning(now more accurately) timer now works need to be finished with auto closing sessions