setting up for client interaction