TimeSelector first working version