#Add pills function