this seems a little brittle. e.g. are the images guaranteed to be ready in 30 seconds?