change lambda keyword to lam, and make all numbers doubles