Relation-Based Paramter Setting implemented (bad style, but works)