rewrite post2, add abstrat variable for post