Added flush operation