change implementation of custom renderer