after tests

15/17 tests passed.
gets stuck on test 17. might have deadlock