Post works but needs refactoring.