Adding cases Query