added extra helper method