add the struct old image
make everything with the struct