simplify helper class