Code for labs during education