Switched code to mix of Tyler's and Zack's. Need to compile in VS.