added suppressions and made minor changes to remove all the warnings
fixed a few bugs
removed some print statements