How to model an institution