Square in class ver