glass interaction code added to the repo