added a few handy methods