functional prototype - need to fix yaml formatting