flush method in environment can return something