make `from` value customizable