removed debugging code which i had left in