Data functions added.