Added the primitive max