Added sample code and sample posts