selecting type