working version tested for minor text