Added flush and get method to Container