5-7 check implementation