todo comment
retrieving values for calculation from value attribute + swap children() for find()