wrote associations for users and tools