playing with the 2d graphics API