added some dream API shizzle