compatibility with bash