changed implementation of the old domain value classes and created a new one