change to be used as a CLI