add title function for bash