add seattype function