should be working but getting bad results