space functionality