J2 plasticity as a userobject