added deliver_time method