beginning work on graphics library