added defult classes and json get stuff