add ability for grid to accept patterns