s3 with squares