Created a helper class