basic working version of graphics engine