do not use typeset, older bash versions do not understand it