added piece list and method for handling errors