migrate some more code over from recipe manager