tried to parse the post data differently