getData() always needs to return an array