compiler errors removed