new bash functions