another try at getting keys working