debugging various parts