replaced code overwritten by pasting from view export