removed dead keys, added documentation