changed legacy to caf