More unnecessary local functions