How to create time management