add debug stuff
fix naming