loop self drawing