altered method to add post