always require the dir to be provided