changed time method