correct work of keys