I was pulled over for a traffic violation and the cop had me do a field test for a dui. After the test he told me to call someone for a ride home. While still making the call for a ride he began to search my car. He found drug paraphernalia within the center console and that's when i was placed under arrest for a dui. Is that an illegal search of my car since i was never put under arrest till after the search?