basic render and poll