code for Glosses and Senses check