Merage code