add fight core code