some consolidation of methods