added some useful public methods.