reworking rendering