Refactored reference renderer