Starting to build updating/drawing functions