Can anyone give me the code for measure? One was created by me before but it loops and loops