constructing detail adapter