view helper stuff mostly