Almost a fully-formed routine