compilation problems with InsertClass()