updated library with graphics