switch to diamond inference