proper rendering