almost ready with client
add some accessor methods