made pieces smarter