got rid of debugging commenting and printing