add soft ticktime function.