core code submit