added max bounds