Code without dispersive materials