object/method replacement functionality added w/ passing test