Changed all inputs to directed.