Text this: A plasticity theory and finite element implementation of friction model