Code went haywire, had to replace with version saved on flash drive