refined post creation and practiced adding codes for editing