restruct chef base