add relevant api links
compact and destroy