mag sampling added