finishes grid implementation