creates pmc.wishlistAdd function