generalized rendering