Changed max retrieve to 10000