udpated gem filewith debugger