Created new class for times