initialize done to false