Clark wright implementation

fixat