Added simple grid functionality