Naive approach I'll fix after CSAW '14 :)