use then instead of addCallback
Merge pull request #41 from simonzack/master

use then instead of addCallback