Mapping capital w and q respectively