Added new ways to deal with real images