finalizing grid layout commands