created and added call to replaceIWithB