Add new tick function