fully functioning output insert logic