removed useless post function