supporting multiple calls by moving to define