add support for multiple images