first approach to bash