Create lists and loops and conditions