This study was designed to determine whether a 4 day perioperative regimen of gabapentin added to celecoxib improves in-hospital rehabilitation and physical function on postoperative day 4 and 6 weeks and 3 months after total knee arthroplasty ( TKA ) .