revereted back to old changes
adding debugging to ruler.rb