Coding for problem determination