used visual studio to find more comp errors