add space functionality