manifests
functions and tests for it