simple client interface for testing.