core part working