OK now uses a ref