adding useful methods