add enable_keys and compile