add related keys solution