render rewrite part 1