what is the use of a ruler?​