initialize with images