adding a flag to show final