add useful helper methods