added Key class