Adding the possibility to verify whether measure exists