more debugging stuff in and out. problem is probably still in there...