updated to work with latest chipper