merge with attr caching
merge with append support
debug