added max notation patch