tabs, variable addition, relationship fix