added simple implementation of renderer