added vapelog code