cleaned code
fixed spacing error and missing data
removed url/method from data with deleting property