added empty undef function