use more portable bash declaration