add core pattern