Fixes #8; also converts tab to 4 spaces