added a few utilities