coal renderer refactored