basic API for the client