avoiding compiler errors