added getkeyratios