added Max connection to arguments