wrapper writelog added