Used a method to submit posts