second lab base code