Moved all the logic to the chipper