replace appender with something similar, but compatible with arrays