Add tick function call