changed the way helper is used