renders and some performance fixes