method for Track class