Magic def