add class to compile