add ruler and number