[CN]Lab 1 implementation