int sq() version