(Started) adding post function