supervisor.Run accepts tick and timer func