add time param in method