added some custom bash functions