added output and adding posts