stack working
merged