added hte time functionality I think.