adds render to views