this is already a promise/deferred, you can just return it, no need for the extra deferred variable