remove debugging code left for analysis