functions added.