center is now a readable attribute of square class