updated run to now erase memory again