fixed col names and added direction