isn't this method already available in a helper class?