Changed to a different way of displaying images internally