grid rendering now works