add test debuggin code