Extended Lab to support event code