warning message when too few subfunctions