Creat a helper class and abstract funcitonality