user friendly functions added