Add time method