funcitoning, about to add some time class and tests.