Ticks behaviour

The code actually makes sense (besides the syntax errors on the first line lol), just there are better ways to do that as you mentioned