added a lot of usefull functions
added a lot of usefull functions