user prompted variables created to collect information for function