woohoo better form rendering, code needs cleanup