public methods testing