working on Time measurements