match block function and updated README