first version of renderer