include error routine rather than duping