Use strcuture "images" in each fontion. BUG = Segmentation fault