space_p is returned back