removed spurious spaces from output