worked on re-parameterizintion