fixed rendering, very comp intensive now though.

should cache rendering in the future