Ads custom function inside block which returns array of all cars