added diagostic