Change Cons function