Removed irrelevant assignment to tableDirections