Making the gettype method better
Making the gettype method better