delete extras code