not workign time handling