partially broken working on relations save