move showGrid
add function's category
impl moved
add test