updated addToLit method