added primop to hardcore