code for delete working in console, complete changing all elements of that class