moved away from tabs and optimized for buffer manipulation.