add class representing versions