some fors and loops