add simple function from bash