adding a nice little keys function