fixed instruction issues, uncommented instructions in main