moved tagging functionality to model