working on time functions
finalize time and tablet layout