comments for canvas class