*** Duplicate function to handle keys