initial debugging done