added space calc