few functions added