newest version with manager function skeletons