Bubbling and AdS solutions in string theory