added advanced rendering