modiffied use_angles.rb example