added space code