Function calling with stupid multiple dispatch