A magic black box