Removed Flush function