composite in class Square