sets up post