Some functions added