first stab at implementing linked accounts