Removal of unnecessary text