latest code from lab