changing to Post method