better support for images