added function defenitions in header file
Ready to implement timeable()