adding some resque stuff