Add functions to ant controller