added flush class