add key keyword argument to merge