in situ spinel formation in a smart nano structured