adding cursor pointed, refactoring gemfile