add CLI for testing