call function and establish arguments using prompts