added abstractions for left and right side accounts