merge elif