magic incoding