rect instead of line