implement resque