Some debugging and testing. NOT FIXED