add proof of concept replace method calls
extract replacing logic into a separate visitor
to be replacing methods can easily be extended now