remove printGrid
remove not used function