Adds package level tick function