The magic cap