improvement verification of shift assignment + update template