post functionality preparation