basic function and user prompted variables created with comments