merge all code