Just some new functions (fixed)

Just added some new functions, it shows a lot of changes but really I added 2 or 3 functions.