bash best practice!