optimizing atom output