ugly example of client usage