Added before request and g