solving mess with images