refactored piece creation debug output