rework of check for instructions