Initialize done variable to false