made TAG public instead of private to avoid warnings in eclipse