Database reference implementation