minor debugging done