changed centerOrigin to center, etc