added Post class