Modified: Defined with square function.