Adicionando novo codigo switch

Signed-off-by: Renato Carvalho <renatolz@gmail.com>