encapsulate accounts