adds AvailableSpaces method