checking for tag