refactor time setters