Add random holes as API function