do while

When retrieving ex it still doesn't exit, need to find a fix.