populating variants hash in order, private helpers