Refactored in appender