added url argument and number of clients