old resque stuff