extracted additional methods