Add moving code to merge together