first version of merge and some specs