Added potion generation function