actions logic
merging