Revert "Revert "foobar creation""

This reverts commit ccef6a0a4b703d2e2d49a7dcfcae1ac79e1ff178.