added setting for bottom layer flow