Got rid of compiler errors