adding existence checks for mov