fix bug, TimeScal enum

Fixed == should've been = bug
Added TimeScale as argument type