debugging done
debugging partially done