custom for get second type