got rid of compiling errors