refactoring (removed ersetzeImage)