Revert "update code with appender"

This reverts commit eefdc7b988c1087662bae28a864cd252e16d347a.
Revert "revert previous"

This reverts commit 94f74fc42543fca9dc2a62f102bee3c89b89ab1d.
Revert "update code with appender"

This reverts commit eefdc7b988c1087662bae28a864cd252e16d347a.