changing to old proc type to allow running in ruby 1.9.3