added a method to grab tags