Improve findtype function