purchase input