need to use bash, not sh