my $overwrite = (length($function)>1) + 0;