Deletion and render loop added