added atom output support