added L2 terms
added L3 terms