added -Wall to compiler opts