example use of subAccount functions