recognizes blocks and assigns points