aaaagh remove debugging code