added bash/functions