addded flatscope example