add usefull functions