backwards compatibility with bash