add parameterclass in residence.xml