added assigncheck