changed condValue element of the schema to an attribute and implemented an interface