gateway is not always required