working, but inconsistently