added lineslices.rb