used max.by and min.by routins for class methods
added pry-byebug