removed the deprecated setType() function
removed the deprecated setType() function
removed the deprecated setType() function
code cleaning maintenance