rendering engine based on ERB