and call done() in there so it waits