post function beta