training page debugged