Last code before experimenting with graphics reduction