working on problem with extra blank line added