lots of debug

lots of bugs