moved from model to resque job