added scheme max idea
added max scheme