Just some new functions

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