Updated with a directional gradient generator