use builtin getCapabilities functions