rendering finally working nicely