changed a few things to work with this version of graphics library