Add rendering functions
insert function complete