base watermark functions