Mirage Mastery

See here for a non-commented version.