add check for empty @trusted