added set ruler