add data and program exception handler
debugging code is distributed into separate files