use :key => value format so code works with ruby 1.8.7.