create functions with multiple overrides