Class submit