compiler errors resolved