create methods in tag model for reuse