init: basic client functionality