primop add working