AMPeD Code