Added function "addMove"