I just realised function types don't work the way I thought they did. Need to figure that out.