basic post directive with some changes