merging changes from stack commands