make helper class general