add a helper method