change draw to write and path to drawings