Implemented MoveShares function