issue-9: adds possibility that the variants can be persisted