added TimeBar functions
TimeBars start working. Buggy :)