fix- dual function definition