eliminated duplicate call function