Finalised grid functionality