sets up tag model