v1.1 without json_encode