Adding time variables and default constructor