getting rid of key assignments