added post method. NOT TESTED!!!