get attributes, refactor list merge