customize rendering by view