add key feature to api