snippets and post layout done