modified post_solution