how to deal with gamm()s and print for variance