can now pass in arguments to server