use '/tmp' for test