first working version of gem