updated functions

These 10 functions are the latest versions