First function in DDK env