flat stack working

flat stack working