same as above on spaces