delete code from library