Add reference implementation