added the ability to create spaces