Implemented redner function