Done. Only problem is negative x.