needed to add addRemoteImage in callbacks