Created personal functions

Created personal functions