first step toward proper rendering