removed array type after further consideration, added function to retrieve space parameter