First version of renderer