Create core code