made proxy optional