adds correct attr to answer