working on implementing l2