Refactored parkerController