Added keys

Copied three lines of code from an example