unmarshalling opt 2