add stuff on joins