some additional helper methods