Added gettype