fixed some syntax mistakes, commented out printfs