Changed capabilities to dict instead of list