add check for seq type