Working on client_main