base for canvas