createClass coded