key-position method