added functions to get tag relations and timing conflicts