using MiniCanvas from library