added flush commands