added getting posts