the cop wrote you a ticket because you are a moron

and you were illegal