add render to lib