added TimeConverter class