resolved compiler errors