Added onMaxReached Event