Lightning credit for trainees with two problems that are related