parameters for print_common_drugs method fixed