changed uses of Proc.new to proc