added diagnostic page