Changed a varible name and the "direction" of that Boolean.