forgot not equal with conditionals
adding in print helper function and got lambdas and variable list to work