Function update

Added some other functions