adding stubbable helpers