use resque's method