try to format properly a function in examples of RectTool