reorganized imports and messed with tick handler