The code I submitted for the TagMe contest