added generation of undet method

Signed-off-by: dvorkinista <villain@noironetworks.com>