The police officer said he smelled it, so since it was on my body, I allowed them to search the car. When they wanted to search me, I did not give them permission, so they said they were taking me to jail, at that point they searched me and found the stuff.