impelemented an ImageManager