working on gradient pwld