deleted incorrect move function