key method