use key? to check for q value