added rendering helper class