adding where in capabilities