Maybe fixed the direction problem