debugging hit places. code is a mess right now