use from CLI