change a=0.0 and b=-1.0