add a couple of helpers