deferreds and stuff