Cleaned up the getData controller method