Merge all procedure together