implemented getCapabilities()