added fucntion to do thing

LibrarPotter, you should add this function.