L2 Code On Ideal Logic