Actions as functions work in Snake