factor out some level rendering