add squared version