created C class