conding the square class